package cn.iocoder.yudao.module.design.controller.admin.problem.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
* 项目问题 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class ProblemBaseVO {

    @Schema(description = "房屋id")
    private Long houseId;

    @Schema(description = "提出者id")
    private Long userId;

    @Schema(description = "处理人id" )
    private Long dealerId;

    @Schema(description = "解决者类型")
    private String dealerType;

    @Schema(description = "状态表")
    private String status;

    @Schema(description = "创建日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date createTime;

    @Schema(description = "问题描述")
    private String remark;

    @Schema(description = "流程id")
    private Long flowId;

    @Schema(description = "节点id")
    private Long nodeId;

    @Schema(description = "问题标题")
    private String title;

    @Schema(description = "问题等级")
    private String problemLevel;

    @Schema(description = "问题类型")
    private String problemType;

    @Schema(description = "期望结束时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date exFinishTime;

    @Schema(description = "结束时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date finishTime;


    @Schema(description = "解决方案")
    private String solution;






}
